package com.CmJava.entity.comment;

public class CommentEntity {
    // 比如：存一下redis中对应的key，便于实现回复功能
    // p2_c1_1_for_MyWeb
    private String commentKey;
    private String commenterName;
    private String commentBody;
    private String commentTime;
    private int thumbNum;

    public CommentEntity() {
    }

    public CommentEntity(String commentKey, String commenterName, String commentBody, String commentTime, int thumbNum) {
        this.commentKey = commentKey;
        this.commenterName = commenterName;
        this.commentBody = commentBody;
        this.commentTime = commentTime;
        this.thumbNum = thumbNum;
    }

    public String getCommentKey() {
        return commentKey;
    }

    public void setCommentKey(String commentKey) {
        this.commentKey = commentKey;
    }

    public String getCommenterName() {
        return commenterName;
    }

    public void setCommenterName(String commenterName) {
        this.commenterName = commenterName;
    }

    public String getCommentBody() {
        return commentBody;
    }

    public void setCommentBody(String commentBody) {
        this.commentBody = commentBody;
    }

    public String getCommentTime() {
        return commentTime;
    }

    public void setCommentTime(String commentTime) {
        this.commentTime = commentTime;
    }

    public int getThumbNum() {
        return thumbNum;
    }

    public void setThumbNum(int thumbNum) {
        this.thumbNum = thumbNum;
    }
}
